﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Service.Attributes
{
    /// <summary>
    /// ViewModel 和 文件的关联
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class ViewModelFileAttribute : Attribute
    {
        public ViewModelFileAttribute(string fileName, Type saveType)
        {
            FileName = fileName;
            SaveType = saveType;
        }
        public string FileName { get; private set; }
        public Type SaveType { get; private set; }
    }
}
